package Day05;

public class Test03 {
    public static void main(String[] args) {
        int a=getMax(1,2,3);
        System.out.println(a);
    }
    public static int getMax(int a,int b,int c){
        if(a>b&&a>c){
            return a;
        }else if(b>a&&b>c){
            return b;
        }else {
            return c;
        }
    }
}
